package application;
import java.io.Serializable;

import dataStructures.Iterator;
/**
 * @author Carlos Duarte - 43796
 * @author Rafael Florencio - 43829
 */
public interface Word extends Serializable {
	/**
	 * Set word
	 */
	public void SetWord(String word);
	/**
	 * Get word variable
	 * @return word
	 */
	public String GetWord();
	
	/**
	 * Get type of word
	 * @return C == palavra correta. E == erro ortografico. P == palavra correta ou errada.
	 */
	public String GetType();
	
	
	public Iterator<Integer> GetLine();

	/**
	 * increase one to count
	 */
	public void SetTime(int line);
	/**
	 * count how many times the word appears
	 * @return
	 */
	public int countTimes();
}
